cmake_minimum_required(VERSION 3.12)
project(opcode_mips VERSION 0.0.1 LANGUAGES C CXX)
set(PRJ_SRC main.cpp  instrs-fmt.cpp mips-instr.c  mips-opc.c  mips-regdef.c)

include_directories(opcode)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O2")
set(CMAKE_CPP_FLAGS "${CMAKE_CPP_FLAGS} -O2")
add_executable(opcode_mips ${PRJ_SRC})
